<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
    <!--无数据提示 开始-->
    <section th:if="${#lists.isEmpty(dataMap['list'])}" class="no-data__wrap">
        <span class="no-data-ico"></span>
        <p class="mt20"><span class="c-666">最近一段时间，还没有积分变化记录~~~</span></p>
    </section>
    <!--无数据提示 结束-->
    <table th:if="!${#lists.isEmpty(dataMap['list'])}" class="table table-hover">
        <thead>
        <tr>
            <th><span class="c-999 fs12">操作时间</span></th>
            <th>
                <span class="c-999 fs12">积分变动</span>
            </th>
            <th><span class="c-999 fs12">增减来源</span></th>
            <th><span class="c-999 fs12">积分余额</span></th>
        </tr>
        </thead>
        <tbody>
            <tr th:each="userIntegralRecord:${dataMap['list']}">
                <td><span class="c-999" th:text="${#strings.substring(userIntegralRecord['createTime'],0,16)}"></span></td>
                <td class="c-warning">
                    <span th:if="${userIntegralRecord['recordType']}==2">+</span>
                    <span th:if="${userIntegralRecord['recordType']}==1">-</span>
                    <b th:text="${userIntegralRecord['score']}"></b>
                </td>
                <td><span class="c-999" th:text="${userIntegralRecord['description']}"></span></td>
                <td><span class="c-warning" th:text="${userIntegralRecord['userUseScore']}"></span></td>
            </tr>
        </tbody>
    </table>
    <div data-th-replace="layout/user/user-center-page"></div>

